<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>wdtps: Overview</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">wdtps
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__wdtps.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">Overview</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for the device.  <a href="struct_x_wdt_ps___config.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> driver instance data.  <a href="struct_x_wdt_ps.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac766494d522d445e628dd65f01fe4130"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gac766494d522d445e628dd65f01fe4130">XWDTPS_H</a></td></tr>
<tr class="memdesc:gac766494d522d445e628dd65f01fe4130"><td class="mdescLeft">&#160;</td><td class="mdescRight">by using protection macros  <a href="#gac766494d522d445e628dd65f01fe4130">More...</a><br/></td></tr>
<tr class="separator:gac766494d522d445e628dd65f01fe4130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad0b2439fb19478f1b1c1d14b76cd15cc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gad0b2439fb19478f1b1c1d14b76cd15cc">XWDTPS_RESET_SIGNAL</a>&#160;&#160;&#160;0x01U</td></tr>
<tr class="memdesc:gad0b2439fb19478f1b1c1d14b76cd15cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset signal request.  <a href="#gad0b2439fb19478f1b1c1d14b76cd15cc">More...</a><br/></td></tr>
<tr class="separator:gad0b2439fb19478f1b1c1d14b76cd15cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c3aaf158b04e2d1e77145d5b425c5d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga1c3aaf158b04e2d1e77145d5b425c5d3">XWDTPS_IRQ_SIGNAL</a>&#160;&#160;&#160;0x02U</td></tr>
<tr class="memdesc:ga1c3aaf158b04e2d1e77145d5b425c5d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">IRQ signal request.  <a href="#ga1c3aaf158b04e2d1e77145d5b425c5d3">More...</a><br/></td></tr>
<tr class="separator:ga1c3aaf158b04e2d1e77145d5b425c5d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4182ead880093d17d2b0962839821929"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga4182ead880093d17d2b0962839821929">XWDTPS_CLK_PRESCALE</a>&#160;&#160;&#160;0x01U</td></tr>
<tr class="memdesc:ga4182ead880093d17d2b0962839821929"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clock Prescale request.  <a href="#ga4182ead880093d17d2b0962839821929">More...</a><br/></td></tr>
<tr class="separator:ga4182ead880093d17d2b0962839821929"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac055573454d39a7fadf5cbd1ed19aea5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gac055573454d39a7fadf5cbd1ed19aea5">XWDTPS_COUNTER_RESET</a>&#160;&#160;&#160;0x02U</td></tr>
<tr class="memdesc:gac055573454d39a7fadf5cbd1ed19aea5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter Reset request.  <a href="#gac055573454d39a7fadf5cbd1ed19aea5">More...</a><br/></td></tr>
<tr class="separator:gac055573454d39a7fadf5cbd1ed19aea5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5ad51ea203fc3eb20ecd848117c2f930"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga5ad51ea203fc3eb20ecd848117c2f930">XWdtPs_IsWdtExpired</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga5ad51ea203fc3eb20ecd848117c2f930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the watchdog timer has expired.  <a href="#ga5ad51ea203fc3eb20ecd848117c2f930">More...</a><br/></td></tr>
<tr class="separator:ga5ad51ea203fc3eb20ecd848117c2f930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga89baace72a7b8abe477a8cfed4606a08"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga89baace72a7b8abe477a8cfed4606a08">XWdtPs_RestartWdt</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga89baace72a7b8abe477a8cfed4606a08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restart the watchdog timer.  <a href="#ga89baace72a7b8abe477a8cfed4606a08">More...</a><br/></td></tr>
<tr class="separator:ga89baace72a7b8abe477a8cfed4606a08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa55483ea4e4979700111be19b03d06e7"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaa55483ea4e4979700111be19b03d06e7">XWDTPS_HW_H</a></td></tr>
<tr class="memdesc:gaa55483ea4e4979700111be19b03d06e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">by using protection macros  <a href="#gaa55483ea4e4979700111be19b03d06e7">More...</a><br/></td></tr>
<tr class="separator:gaa55483ea4e4979700111be19b03d06e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae41b46b220ba0da6a9f28e594c3c0a47"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>(BaseAddress, RegOffset)&#160;&#160;&#160;Xil_In32((BaseAddress) + (u32)(RegOffset))</td></tr>
<tr class="memdesc:gae41b46b220ba0da6a9f28e594c3c0a47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read the given register.  <a href="#gae41b46b220ba0da6a9f28e594c3c0a47">More...</a><br/></td></tr>
<tr class="separator:gae41b46b220ba0da6a9f28e594c3c0a47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac1cc7282f826a550a7f5107f1e12523b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>(BaseAddress, RegOffset, Data)&#160;&#160;&#160;Xil_Out32((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td></tr>
<tr class="memdesc:gac1cc7282f826a550a7f5107f1e12523b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write the given register.  <a href="#gac1cc7282f826a550a7f5107f1e12523b">More...</a><br/></td></tr>
<tr class="separator:gac1cc7282f826a550a7f5107f1e12523b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gaf5315b5d46aba7c4d02b988740d44c66"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaf5315b5d46aba7c4d02b988740d44c66">XWdtPs_CfgInitialize</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr, <a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> *ConfigPtr, UINTPTR EffectiveAddress)</td></tr>
<tr class="memdesc:gaf5315b5d46aba7c4d02b988740d44c66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initialize a specific watchdog timer instance/driver.  <a href="#gaf5315b5d46aba7c4d02b988740d44c66">More...</a><br/></td></tr>
<tr class="separator:gaf5315b5d46aba7c4d02b988740d44c66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2ac689cec0d17cc916c509285635135b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga2ac689cec0d17cc916c509285635135b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start the watchdog timer of the device.  <a href="#ga2ac689cec0d17cc916c509285635135b">More...</a><br/></td></tr>
<tr class="separator:ga2ac689cec0d17cc916c509285635135b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4a8899689039c676ab3ad7ff80c9c750"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga4a8899689039c676ab3ad7ff80c9c750"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disable the watchdog timer.  <a href="#ga4a8899689039c676ab3ad7ff80c9c750">More...</a><br/></td></tr>
<tr class="separator:ga4a8899689039c676ab3ad7ff80c9c750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f98775051f9ea2cb0a47da8a75f555a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr, u8 Signal)</td></tr>
<tr class="memdesc:ga8f98775051f9ea2cb0a47da8a75f555a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the indicated signal/output.  <a href="#ga8f98775051f9ea2cb0a47da8a75f555a">More...</a><br/></td></tr>
<tr class="separator:ga8f98775051f9ea2cb0a47da8a75f555a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d6091a8ee48e49031cf0c8c92a87658"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr, u8 Signal)</td></tr>
<tr class="memdesc:ga0d6091a8ee48e49031cf0c8c92a87658"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables the indicated signal/output.  <a href="#ga0d6091a8ee48e49031cf0c8c92a87658">More...</a><br/></td></tr>
<tr class="separator:ga0d6091a8ee48e49031cf0c8c92a87658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga007b92a62641b7db61edd11f8e4bc7dc"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr, u8 Control)</td></tr>
<tr class="memdesc:ga007b92a62641b7db61edd11f8e4bc7dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current control setting for the indicated signal/output.  <a href="#ga007b92a62641b7db61edd11f8e4bc7dc">More...</a><br/></td></tr>
<tr class="separator:ga007b92a62641b7db61edd11f8e4bc7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64f2de6079bde6e9b8c495401a555a64"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr, u8 Control, u32 Value)</td></tr>
<tr class="memdesc:ga64f2de6079bde6e9b8c495401a555a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Updates the current control setting for the indicated signal/output with the provided value.  <a href="#ga64f2de6079bde6e9b8c495401a555a64">More...</a><br/></td></tr>
<tr class="separator:ga64f2de6079bde6e9b8c495401a555a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4b447b33afe318703da0f9f96849ee41"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga4b447b33afe318703da0f9f96849ee41">XWdtPs_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga4b447b33afe318703da0f9f96849ee41"><td class="mdescLeft">&#160;</td><td class="mdescRight">Lookup the device configuration based on the unique device ID.  <a href="#ga4b447b33afe318703da0f9f96849ee41">More...</a><br/></td></tr>
<tr class="separator:ga4b447b33afe318703da0f9f96849ee41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga173e89798890bf73fd20f5cdadf113b5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest</a> (<a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga173e89798890bf73fd20f5cdadf113b5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run a self-test on the timebase.  <a href="#ga173e89798890bf73fd20f5cdadf113b5">More...</a><br/></td></tr>
<tr class="separator:ga173e89798890bf73fd20f5cdadf113b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ga230fdf90fd02a0ac309937d235f560ac"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga230fdf90fd02a0ac309937d235f560ac">XWdtPs_ConfigTable</a> []</td></tr>
<tr class="memdesc:ga230fdf90fd02a0ac309937d235f560ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration table.  <a href="#ga230fdf90fd02a0ac309937d235f560ac">More...</a><br/></td></tr>
<tr class="separator:ga230fdf90fd02a0ac309937d235f560ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23a43d76136564699b548fb0a4b144dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga23a43d76136564699b548fb0a4b144dd">XWdtPs_ConfigTable</a> [XPAR_XWDTPS_NUM_INSTANCES]</td></tr>
<tr class="memdesc:ga23a43d76136564699b548fb0a4b144dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This table contains configuration information for each watchdog timer device in the system.  <a href="#ga23a43d76136564699b548fb0a4b144dd">More...</a><br/></td></tr>
<tr class="separator:ga23a43d76136564699b548fb0a4b144dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Register Map</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp092729737d14686054aa21531a3582c6"></a>Offsets of registers from the start of the device </p>
</td></tr>
<tr class="memitem:gabfb6c271ee50fc3735fde379c938be0c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="memdesc:gabfb6c271ee50fc3735fde379c938be0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Zero Mode Register.  <a href="#gabfb6c271ee50fc3735fde379c938be0c">More...</a><br/></td></tr>
<tr class="separator:gabfb6c271ee50fc3735fde379c938be0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga55c7e50c407f1bb66181c306fc51e3b3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga55c7e50c407f1bb66181c306fc51e3b3">XWDTPS_CCR_OFFSET</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga55c7e50c407f1bb66181c306fc51e3b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Counter Control Register.  <a href="#ga55c7e50c407f1bb66181c306fc51e3b3">More...</a><br/></td></tr>
<tr class="separator:ga55c7e50c407f1bb66181c306fc51e3b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa8bb5ca85ad74f2e5601444673e6ed09"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaa8bb5ca85ad74f2e5601444673e6ed09">XWDTPS_RESTART_OFFSET</a>&#160;&#160;&#160;0x00000008U</td></tr>
<tr class="memdesc:gaa8bb5ca85ad74f2e5601444673e6ed09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restart Register.  <a href="#gaa8bb5ca85ad74f2e5601444673e6ed09">More...</a><br/></td></tr>
<tr class="separator:gaa8bb5ca85ad74f2e5601444673e6ed09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf91a6934748dedcd7f21665696277922"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaf91a6934748dedcd7f21665696277922">XWDTPS_SR_OFFSET</a>&#160;&#160;&#160;0x0000000CU</td></tr>
<tr class="memdesc:gaf91a6934748dedcd7f21665696277922"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status Register.  <a href="#gaf91a6934748dedcd7f21665696277922">More...</a><br/></td></tr>
<tr class="separator:gaf91a6934748dedcd7f21665696277922"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Zero Mode Register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp705db5760323c284e2d679ff257e1990"></a>This register controls how the time out is indicated and also contains the access code (0xABC) to allow writes to the register </p>
</td></tr>
<tr class="memitem:gab5a46221cc01e7b376f46ee60f726dad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gab5a46221cc01e7b376f46ee60f726dad">XWDTPS_ZMR_WDEN_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:gab5a46221cc01e7b376f46ee60f726dad"><td class="mdescLeft">&#160;</td><td class="mdescRight">enable the WDT  <a href="#gab5a46221cc01e7b376f46ee60f726dad">More...</a><br/></td></tr>
<tr class="separator:gab5a46221cc01e7b376f46ee60f726dad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace442e2a904cbae1a530f29f96e183ec"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gace442e2a904cbae1a530f29f96e183ec">XWDTPS_ZMR_RSTEN_MASK</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:gace442e2a904cbae1a530f29f96e183ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">enable the reset output  <a href="#gace442e2a904cbae1a530f29f96e183ec">More...</a><br/></td></tr>
<tr class="separator:gace442e2a904cbae1a530f29f96e183ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8ab972f80540aaa4dcab5fa69c355354"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga8ab972f80540aaa4dcab5fa69c355354">XWDTPS_ZMR_IRQEN_MASK</a>&#160;&#160;&#160;0x00000004U</td></tr>
<tr class="memdesc:ga8ab972f80540aaa4dcab5fa69c355354"><td class="mdescLeft">&#160;</td><td class="mdescRight">enable the IRQ output  <a href="#ga8ab972f80540aaa4dcab5fa69c355354">More...</a><br/></td></tr>
<tr class="separator:ga8ab972f80540aaa4dcab5fa69c355354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaecc5f08ee18069fdd264027e7da22165"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaecc5f08ee18069fdd264027e7da22165">XWDTPS_ZMR_RSTLN_MASK</a>&#160;&#160;&#160;0x00000070U</td></tr>
<tr class="memdesc:gaecc5f08ee18069fdd264027e7da22165"><td class="mdescLeft">&#160;</td><td class="mdescRight">set length of reset pulse  <a href="#gaecc5f08ee18069fdd264027e7da22165">More...</a><br/></td></tr>
<tr class="separator:gaecc5f08ee18069fdd264027e7da22165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9038442d353f8b8dc15786f1efaad62d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga9038442d353f8b8dc15786f1efaad62d">XWDTPS_ZMR_RSTLN_SHIFT</a>&#160;&#160;&#160;4U</td></tr>
<tr class="memdesc:ga9038442d353f8b8dc15786f1efaad62d"><td class="mdescLeft">&#160;</td><td class="mdescRight">shift for reset pulse  <a href="#ga9038442d353f8b8dc15786f1efaad62d">More...</a><br/></td></tr>
<tr class="separator:ga9038442d353f8b8dc15786f1efaad62d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga23875fd789deb201c12053d6339c4d43"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga23875fd789deb201c12053d6339c4d43">XWDTPS_ZMR_IRQLN_MASK</a>&#160;&#160;&#160;0x00000180U</td></tr>
<tr class="memdesc:ga23875fd789deb201c12053d6339c4d43"><td class="mdescLeft">&#160;</td><td class="mdescRight">set length of interrupt pulse  <a href="#ga23875fd789deb201c12053d6339c4d43">More...</a><br/></td></tr>
<tr class="separator:ga23875fd789deb201c12053d6339c4d43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae16f80502d0c7542dcc7269c62f93701"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gae16f80502d0c7542dcc7269c62f93701">XWDTPS_ZMR_IRQLN_SHIFT</a>&#160;&#160;&#160;7U</td></tr>
<tr class="memdesc:gae16f80502d0c7542dcc7269c62f93701"><td class="mdescLeft">&#160;</td><td class="mdescRight">shift for interrupt pulse  <a href="#gae16f80502d0c7542dcc7269c62f93701">More...</a><br/></td></tr>
<tr class="separator:gae16f80502d0c7542dcc7269c62f93701"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga90391e03ac8d6d1e404a8f654129abbf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga90391e03ac8d6d1e404a8f654129abbf">XWDTPS_ZMR_ZKEY_MASK</a>&#160;&#160;&#160;0x00FFF000U</td></tr>
<tr class="memdesc:ga90391e03ac8d6d1e404a8f654129abbf"><td class="mdescLeft">&#160;</td><td class="mdescRight">mask for writing access key  <a href="#ga90391e03ac8d6d1e404a8f654129abbf">More...</a><br/></td></tr>
<tr class="separator:ga90391e03ac8d6d1e404a8f654129abbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1d77314aa941add791ce8d0bfa9ec3b9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>&#160;&#160;&#160;0x00ABC000U</td></tr>
<tr class="memdesc:ga1d77314aa941add791ce8d0bfa9ec3b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">access key, 0xABC &lt;&lt; 12  <a href="#ga1d77314aa941add791ce8d0bfa9ec3b9">More...</a><br/></td></tr>
<tr class="separator:ga1d77314aa941add791ce8d0bfa9ec3b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Counter Control register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrpf8413d0c46a66a7140c5648b14acb06a"></a>This register controls how fast the timer runs and the reset value and also contains the access code (0x248) to allow writes to the register </p>
</td></tr>
<tr class="memitem:ga57d4d9381e95475f46b366139f39ce51"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga57d4d9381e95475f46b366139f39ce51">XWDTPS_CCR_CLKSEL_MASK</a>&#160;&#160;&#160;0x00000003U</td></tr>
<tr class="memdesc:ga57d4d9381e95475f46b366139f39ce51"><td class="mdescLeft">&#160;</td><td class="mdescRight">counter clock prescale  <a href="#ga57d4d9381e95475f46b366139f39ce51">More...</a><br/></td></tr>
<tr class="separator:ga57d4d9381e95475f46b366139f39ce51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8459363e0e0ad2d44291c68dfaa444d0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga8459363e0e0ad2d44291c68dfaa444d0">XWDTPS_CCR_CRV_MASK</a>&#160;&#160;&#160;0x00003FFCU</td></tr>
<tr class="memdesc:ga8459363e0e0ad2d44291c68dfaa444d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">counter reset value  <a href="#ga8459363e0e0ad2d44291c68dfaa444d0">More...</a><br/></td></tr>
<tr class="separator:ga8459363e0e0ad2d44291c68dfaa444d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadd87253d3c5419b22ea299760058ab00"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gadd87253d3c5419b22ea299760058ab00">XWDTPS_CCR_CRV_SHIFT</a>&#160;&#160;&#160;2U</td></tr>
<tr class="memdesc:gadd87253d3c5419b22ea299760058ab00"><td class="mdescLeft">&#160;</td><td class="mdescRight">shift for writing value  <a href="#gadd87253d3c5419b22ea299760058ab00">More...</a><br/></td></tr>
<tr class="separator:gadd87253d3c5419b22ea299760058ab00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf030acbc21b20d7cb8a857a10cb965ed"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gaf030acbc21b20d7cb8a857a10cb965ed">XWDTPS_CCR_CKEY_MASK</a>&#160;&#160;&#160;0x03FFC000U</td></tr>
<tr class="memdesc:gaf030acbc21b20d7cb8a857a10cb965ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">mask for writing access key  <a href="#gaf030acbc21b20d7cb8a857a10cb965ed">More...</a><br/></td></tr>
<tr class="separator:gaf030acbc21b20d7cb8a857a10cb965ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga25fcda0719e4ead71bd6bef791c7ec83"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga25fcda0719e4ead71bd6bef791c7ec83">XWDTPS_CCR_CKEY_VAL</a>&#160;&#160;&#160;0x00920000U</td></tr>
<tr class="memdesc:ga25fcda0719e4ead71bd6bef791c7ec83"><td class="mdescLeft">&#160;</td><td class="mdescRight">access key, 0x248 &lt;&lt; 14  <a href="#ga25fcda0719e4ead71bd6bef791c7ec83">More...</a><br/></td></tr>
<tr class="separator:ga25fcda0719e4ead71bd6bef791c7ec83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9c5980e1118cff3e565fcc1f3b6e140a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga9c5980e1118cff3e565fcc1f3b6e140a">XWDTPS_CCR_PSCALE_0008</a>&#160;&#160;&#160;0x00000000U</td></tr>
<tr class="memdesc:ga9c5980e1118cff3e565fcc1f3b6e140a"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide clock by 8  <a href="#ga9c5980e1118cff3e565fcc1f3b6e140a">More...</a><br/></td></tr>
<tr class="separator:ga9c5980e1118cff3e565fcc1f3b6e140a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77aab579ac71f7ac44d785ff35564c05"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga77aab579ac71f7ac44d785ff35564c05">XWDTPS_CCR_PSCALE_0064</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga77aab579ac71f7ac44d785ff35564c05"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide clock by 64  <a href="#ga77aab579ac71f7ac44d785ff35564c05">More...</a><br/></td></tr>
<tr class="separator:ga77aab579ac71f7ac44d785ff35564c05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5a1088e125265e83d8f75a4e39110ee6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga5a1088e125265e83d8f75a4e39110ee6">XWDTPS_CCR_PSCALE_0512</a>&#160;&#160;&#160;0x00000002U</td></tr>
<tr class="memdesc:ga5a1088e125265e83d8f75a4e39110ee6"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide clock by 512  <a href="#ga5a1088e125265e83d8f75a4e39110ee6">More...</a><br/></td></tr>
<tr class="separator:ga5a1088e125265e83d8f75a4e39110ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac45a97f7c45ce5c10365a27c199d8d2c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#gac45a97f7c45ce5c10365a27c199d8d2c">XWDTPS_CCR_PSCALE_4096</a>&#160;&#160;&#160;0x00000003U</td></tr>
<tr class="memdesc:gac45a97f7c45ce5c10365a27c199d8d2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">divide clock by 4096  <a href="#gac45a97f7c45ce5c10365a27c199d8d2c">More...</a><br/></td></tr>
<tr class="separator:gac45a97f7c45ce5c10365a27c199d8d2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Restart register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp627666e67c8a735c7b95fc5fcd6eb166"></a>This register resets the timer preventing a timeout.</p>
<p>Value is specific 0x1999 </p>
</td></tr>
<tr class="memitem:ga798fcec0eac576d8309e3995e3597b3e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga798fcec0eac576d8309e3995e3597b3e">XWDTPS_RESTART_KEY_VAL</a>&#160;&#160;&#160;0x00001999U</td></tr>
<tr class="memdesc:ga798fcec0eac576d8309e3995e3597b3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">valid key  <a href="#ga798fcec0eac576d8309e3995e3597b3e">More...</a><br/></td></tr>
<tr class="separator:ga798fcec0eac576d8309e3995e3597b3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="member-group"></a>
Status register</h2></td></tr>
<tr><td class="ititle" colspan="2"><p><a class="anchor" id="amgrp34a6ed3107422ce46ab6bd1b89b084bd"></a>This register indicates timer reached zero count. </p>
</td></tr>
<tr class="memitem:ga79c7165641f0f9b4e356675fc0d0960b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__wdtps.html#ga79c7165641f0f9b4e356675fc0d0960b">XWDTPS_SR_WDZ_MASK</a>&#160;&#160;&#160;0x00000001U</td></tr>
<tr class="memdesc:ga79c7165641f0f9b4e356675fc0d0960b"><td class="mdescLeft">&#160;</td><td class="mdescRight">time out occurred  <a href="#ga79c7165641f0f9b4e356675fc0d0960b">More...</a><br/></td></tr>
<tr class="separator:ga79c7165641f0f9b4e356675fc0d0960b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="gaf030acbc21b20d7cb8a857a10cb965ed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_CKEY_MASK&#160;&#160;&#160;0x03FFC000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>mask for writing access key </p>

</div>
</div>
<a class="anchor" id="ga25fcda0719e4ead71bd6bef791c7ec83"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_CKEY_VAL&#160;&#160;&#160;0x00920000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>access key, 0x248 &lt;&lt; 14 </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="ga57d4d9381e95475f46b366139f39ce51"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_CLKSEL_MASK&#160;&#160;&#160;0x00000003U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>counter clock prescale </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8459363e0e0ad2d44291c68dfaa444d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_CRV_MASK&#160;&#160;&#160;0x00003FFCU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>counter reset value </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="gadd87253d3c5419b22ea299760058ab00"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_CRV_SHIFT&#160;&#160;&#160;2U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>shift for writing value </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="ga55c7e50c407f1bb66181c306fc51e3b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_OFFSET&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter Control Register. </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9c5980e1118cff3e565fcc1f3b6e140a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_PSCALE_0008&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>divide clock by 8 </p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga77aab579ac71f7ac44d785ff35564c05"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_PSCALE_0064&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>divide clock by 64 </p>

</div>
</div>
<a class="anchor" id="ga5a1088e125265e83d8f75a4e39110ee6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_PSCALE_0512&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>divide clock by 512 </p>

</div>
</div>
<a class="anchor" id="gac45a97f7c45ce5c10365a27c199d8d2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CCR_PSCALE_4096&#160;&#160;&#160;0x00000003U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>divide clock by 4096 </p>

</div>
</div>
<a class="anchor" id="ga4182ead880093d17d2b0962839821929"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_CLK_PRESCALE&#160;&#160;&#160;0x01U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clock Prescale request. </p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>, <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="gac055573454d39a7fadf5cbd1ed19aea5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_COUNTER_RESET&#160;&#160;&#160;0x02U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Counter Reset request. </p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>, <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, and <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>.</p>

</div>
</div>
<a class="anchor" id="gac766494d522d445e628dd65f01fe4130"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>by using protection macros </p>

</div>
</div>
<a class="anchor" id="gaa55483ea4e4979700111be19b03d06e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_HW_H</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>by using protection macros </p>

</div>
</div>
<a class="anchor" id="ga1c3aaf158b04e2d1e77145d5b425c5d3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_IRQ_SIGNAL&#160;&#160;&#160;0x02U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>IRQ signal request. </p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, and <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="ga5ad51ea203fc3eb20ecd848117c2f930"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWdtPs_IsWdtExpired</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line">((<a class="code" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, <a class="code" href="group__wdtps.html#gaf91a6934748dedcd7f21665696277922">XWDTPS_SR_OFFSET</a>) &amp; <a class="code" href="group__wdtps.html#ga79c7165641f0f9b4e356675fc0d0960b">\</a></div>
<div class="line"><a class="code" href="group__wdtps.html#ga79c7165641f0f9b4e356675fc0d0960b">	  XWDTPS_SR_WDZ_MASK</a>) == <a class="code" href="group__wdtps.html#ga79c7165641f0f9b4e356675fc0d0960b">XWDTPS_SR_WDZ_MASK</a>)</div>
<div class="ttc" id="group__wdtps_html_ga79c7165641f0f9b4e356675fc0d0960b"><div class="ttname"><a href="group__wdtps.html#ga79c7165641f0f9b4e356675fc0d0960b">XWDTPS_SR_WDZ_MASK</a></div><div class="ttdeci">#define XWDTPS_SR_WDZ_MASK</div><div class="ttdoc">time out occurred </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:113</div></div>
<div class="ttc" id="group__wdtps_html_gaf91a6934748dedcd7f21665696277922"><div class="ttname"><a href="group__wdtps.html#gaf91a6934748dedcd7f21665696277922">XWDTPS_SR_OFFSET</a></div><div class="ttdeci">#define XWDTPS_SR_OFFSET</div><div class="ttdoc">Status Register. </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:51</div></div>
<div class="ttc" id="group__wdtps_html_gae41b46b220ba0da6a9f28e594c3c0a47"><div class="ttname"><a href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a></div><div class="ttdeci">#define XWdtPs_ReadReg(BaseAddress, RegOffset)</div><div class="ttdoc">Read the given register. </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:136</div></div>
</div><!-- fragment -->
<p>Check if the watchdog timer has expired. </p>
<p>This function is used for polled mode and it is also used to check if the last reset was caused by the watchdog timer.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>TRUE if the watchdog has expired.</li>
<li>FALSE if the watchdog has not expired.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: int <a class="el" href="group__wdtps.html#ga5ad51ea203fc3eb20ecd848117c2f930" title="Check if the watchdog timer has expired. ">XWdtPs_IsWdtExpired(XWdtPs *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="gae41b46b220ba0da6a9f28e594c3c0a47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWdtPs_ReadReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_In32((BaseAddress) + (u32)(RegOffset))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Read the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be read</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The 32-bit value of the register</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: u32 <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47" title="Read the given register. ">XWdtPs_ReadReg(UINTPTR BaseAddress, u32 RegOffset)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>, <a class="el" href="group__wdtps.html#ga007b92a62641b7db61edd11f8e4bc7dc">XWdtPs_GetControlValue()</a>, <a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest()</a>, <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>, <a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start()</a>, and <a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="gad0b2439fb19478f1b1c1d14b76cd15cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_RESET_SIGNAL&#160;&#160;&#160;0x01U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset signal request. </p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>, <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, and <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="ga798fcec0eac576d8309e3995e3597b3e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_RESTART_KEY_VAL&#160;&#160;&#160;0x00001999U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>valid key </p>

</div>
</div>
<a class="anchor" id="gaa8bb5ca85ad74f2e5601444673e6ed09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_RESTART_OFFSET&#160;&#160;&#160;0x00000008U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restart Register. </p>

</div>
</div>
<a class="anchor" id="ga89baace72a7b8abe477a8cfed4606a08"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWdtPs_RestartWdt</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">InstancePtr</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><a class="code" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>((InstancePtr)-&gt;Config.BaseAddress,              \</div>
<div class="line">                        <a class="code" href="group__wdtps.html#gaa8bb5ca85ad74f2e5601444673e6ed09">XWDTPS_RESTART_OFFSET</a>, <a class="code" href="group__wdtps.html#ga798fcec0eac576d8309e3995e3597b3e">XWDTPS_RESTART_KEY_VAL</a>)</div>
<div class="ttc" id="group__wdtps_html_gac1cc7282f826a550a7f5107f1e12523b"><div class="ttname"><a href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a></div><div class="ttdeci">#define XWdtPs_WriteReg(BaseAddress, RegOffset, Data)</div><div class="ttdoc">Write the given register. </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:154</div></div>
<div class="ttc" id="group__wdtps_html_ga798fcec0eac576d8309e3995e3597b3e"><div class="ttname"><a href="group__wdtps.html#ga798fcec0eac576d8309e3995e3597b3e">XWDTPS_RESTART_KEY_VAL</a></div><div class="ttdeci">#define XWDTPS_RESTART_KEY_VAL</div><div class="ttdoc">valid key </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:105</div></div>
<div class="ttc" id="group__wdtps_html_gaa8bb5ca85ad74f2e5601444673e6ed09"><div class="ttname"><a href="group__wdtps.html#gaa8bb5ca85ad74f2e5601444673e6ed09">XWDTPS_RESTART_OFFSET</a></div><div class="ttdeci">#define XWDTPS_RESTART_OFFSET</div><div class="ttdoc">Restart Register. </div><div class="ttdef"><b>Definition:</b> xwdtps_hw.h:50</div></div>
</div><!-- fragment -->
<p>Restart the watchdog timer. </p>
<p>An application needs to call this function periodically to keep the timer from asserting the enabled output.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__wdtps.html#ga89baace72a7b8abe477a8cfed4606a08" title="Restart the watchdog timer. ">XWdtPs_RestartWdt(XWdtPs *InstancePtr)</a> </dd></dl>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="gaf91a6934748dedcd7f21665696277922"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_SR_OFFSET&#160;&#160;&#160;0x0000000CU</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Status Register. </p>

</div>
</div>
<a class="anchor" id="ga79c7165641f0f9b4e356675fc0d0960b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_SR_WDZ_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>time out occurred </p>

</div>
</div>
<a class="anchor" id="gac1cc7282f826a550a7f5107f1e12523b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWdtPs_WriteReg</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">BaseAddress, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">RegOffset, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">Data&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td>&#160;&#160;&#160;Xil_Out32((BaseAddress) + (u32)(RegOffset), (u32)(Data))</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Write the given register. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BaseAddress</td><td>is the base address of the device </td></tr>
    <tr><td class="paramname">RegOffset</td><td>is the register offset to be written </td></tr>
    <tr><td class="paramname">Data</td><td>is the 32-bit value to write to the register</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>C-style signature: void <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b" title="Write the given register. ">XWdtPs_WriteReg(UINTPTR BaseAddress, u32 RegOffset, u32 Data)</a> </dd></dl>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>, <a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest()</a>, <a class="el" href="group__wdtps.html#ga64f2de6079bde6e9b8c495401a555a64">XWdtPs_SetControlValue()</a>, <a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start()</a>, and <a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8ab972f80540aaa4dcab5fa69c355354"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_IRQEN_MASK&#160;&#160;&#160;0x00000004U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>enable the IRQ output </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, and <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="ga23875fd789deb201c12053d6339c4d43"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_IRQLN_MASK&#160;&#160;&#160;0x00000180U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set length of interrupt pulse </p>

</div>
</div>
<a class="anchor" id="gae16f80502d0c7542dcc7269c62f93701"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_IRQLN_SHIFT&#160;&#160;&#160;7U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>shift for interrupt pulse </p>

</div>
</div>
<a class="anchor" id="gabfb6c271ee50fc3735fde379c938be0c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_OFFSET&#160;&#160;&#160;0x00000000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Zero Mode Register. </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>, <a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest()</a>, <a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start()</a>, and <a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="gace442e2a904cbae1a530f29f96e183ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_RSTEN_MASK&#160;&#160;&#160;0x00000002U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>enable the reset output </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, and <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>.</p>

</div>
</div>
<a class="anchor" id="gaecc5f08ee18069fdd264027e7da22165"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_RSTLN_MASK&#160;&#160;&#160;0x00000070U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>set length of reset pulse </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest()</a>.</p>

</div>
</div>
<a class="anchor" id="ga9038442d353f8b8dc15786f1efaad62d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_RSTLN_SHIFT&#160;&#160;&#160;4U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>shift for reset pulse </p>

</div>
</div>
<a class="anchor" id="gab5a46221cc01e7b376f46ee60f726dad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_WDEN_MASK&#160;&#160;&#160;0x00000001U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>enable the WDT </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start()</a>, and <a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop()</a>.</p>

</div>
</div>
<a class="anchor" id="ga90391e03ac8d6d1e404a8f654129abbf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_ZKEY_MASK&#160;&#160;&#160;0x00FFF000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>mask for writing access key </p>

</div>
</div>
<a class="anchor" id="ga1d77314aa941add791ce8d0bfa9ec3b9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define XWDTPS_ZMR_ZKEY_VAL&#160;&#160;&#160;0x00ABC000U</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>access key, 0xABC &lt;&lt; 12 </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga0d6091a8ee48e49031cf0c8c92a87658">XWdtPs_DisableOutput()</a>, <a class="el" href="group__wdtps.html#ga8f98775051f9ea2cb0a47da8a75f555a">XWdtPs_EnableOutput()</a>, <a class="el" href="group__wdtps.html#ga173e89798890bf73fd20f5cdadf113b5">XWdtPs_SelfTest()</a>, <a class="el" href="group__wdtps.html#ga2ac689cec0d17cc916c509285635135b">XWdtPs_Start()</a>, and <a class="el" href="group__wdtps.html#ga4a8899689039c676ab3ad7ff80c9c750">XWdtPs_Stop()</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="gaf5315b5d46aba7c4d02b988740d44c66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XWdtPs_CfgInitialize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> *&#160;</td>
          <td class="paramname"><em>ConfigPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UINTPTR&#160;</td>
          <td class="paramname"><em>EffectiveAddress</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initialize a specific watchdog timer instance/driver. </p>
<p>This function must be called before other functions of the driver are called.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance. </td></tr>
    <tr><td class="paramname">ConfigPtr</td><td>is the config structure. </td></tr>
    <tr><td class="paramname">EffectiveAddress</td><td>is the base address for the device. It could be a virtual address if address translation is supported in the system, otherwise it is the physical address.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if initialization was successful.</li>
<li>XST_DEVICE_IS_STARTED if the device has already been started.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps___config.html#aa8fc25981018a9ed6fa9985879526988">XWdtPs_Config::DeviceId</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, and <a class="el" href="struct_x_wdt_ps.html#ae48dad9bc1c3b06fdbdc40cb64501dd5">XWdtPs::IsStarted</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>, and <a class="el" href="xwdtps__selftest__example_8c.html#ab984dba57c4f6c2cec0198679734e892">WdtPsSelfTestExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga0d6091a8ee48e49031cf0c8c92a87658"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XWdtPs_DisableOutput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Signal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables the indicated signal/output. </p>
<p>Performs a read/modify/write cycle to update the value correctly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance. </td></tr>
    <tr><td class="paramname">Signal</td><td>is the desired signal/output. Valid Signal Values are XWDTPS_RESET_SIGNAL and XWDTPS_IRQ_SIGNAL Only one of them can be specified at a time.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="group__wdtps.html#ga1c3aaf158b04e2d1e77145d5b425c5d3">XWDTPS_IRQ_SIGNAL</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, <a class="el" href="group__wdtps.html#gad0b2439fb19478f1b1c1d14b76cd15cc">XWDTPS_RESET_SIGNAL</a>, <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>, <a class="el" href="group__wdtps.html#ga8ab972f80540aaa4dcab5fa69c355354">XWDTPS_ZMR_IRQEN_MASK</a>, <a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>, <a class="el" href="group__wdtps.html#gace442e2a904cbae1a530f29f96e183ec">XWDTPS_ZMR_RSTEN_MASK</a>, and <a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga8f98775051f9ea2cb0a47da8a75f555a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XWdtPs_EnableOutput </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Signal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the indicated signal/output. </p>
<p>Performs a read/modify/write cycle to update the value correctly.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance. </td></tr>
    <tr><td class="paramname">Signal</td><td>is the desired signal/output. Valid Signal Values are XWDTPS_RESET_SIGNAL and XWDTPS_IRQ_SIGNAL. Only one of them can be specified at a time.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="group__wdtps.html#ga1c3aaf158b04e2d1e77145d5b425c5d3">XWDTPS_IRQ_SIGNAL</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, <a class="el" href="group__wdtps.html#gad0b2439fb19478f1b1c1d14b76cd15cc">XWDTPS_RESET_SIGNAL</a>, <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>, <a class="el" href="group__wdtps.html#ga8ab972f80540aaa4dcab5fa69c355354">XWDTPS_ZMR_IRQEN_MASK</a>, <a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>, <a class="el" href="group__wdtps.html#gace442e2a904cbae1a530f29f96e183ec">XWDTPS_ZMR_RSTEN_MASK</a>, and <a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga007b92a62641b7db61edd11f8e4bc7dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XWdtPs_GetControlValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Control</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current control setting for the indicated signal/output. </p>
<p>The register referenced is the Counter Control Register (XWDTPS_CCR_OFFSET)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance. </td></tr>
    <tr><td class="paramname">Control</td><td>is the desired signal/output. Valid Control Values are XWDTPS_CLK_PRESCALE and XWDTPS_COUNTER_RESET. Only one of them can be specified at a time.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The contents of the requested control field in the Counter Control Register (XWDTPS_CCR_OFFSET). If the Control is XWDTPS_CLK_PRESCALE then use the definitions XWDTEPB_CCR_PSCALE_XXXX. If the Control is XWDTPS_COUNTER_RESET then the values are 0x0 to 0xFFF. This is the Counter Restart value in the CCR register.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="group__wdtps.html#ga57d4d9381e95475f46b366139f39ce51">XWDTPS_CCR_CLKSEL_MASK</a>, <a class="el" href="group__wdtps.html#ga8459363e0e0ad2d44291c68dfaa444d0">XWDTPS_CCR_CRV_MASK</a>, <a class="el" href="group__wdtps.html#gadd87253d3c5419b22ea299760058ab00">XWDTPS_CCR_CRV_SHIFT</a>, <a class="el" href="group__wdtps.html#ga55c7e50c407f1bb66181c306fc51e3b3">XWDTPS_CCR_OFFSET</a>, <a class="el" href="group__wdtps.html#ga4182ead880093d17d2b0962839821929">XWDTPS_CLK_PRESCALE</a>, <a class="el" href="group__wdtps.html#gac055573454d39a7fadf5cbd1ed19aea5">XWDTPS_COUNTER_RESET</a>, and <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>.</p>

</div>
</div>
<a class="anchor" id="ga4b447b33afe318703da0f9f96849ee41"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> * XWdtPs_LookupConfig </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>DeviceId</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Lookup the device configuration based on the unique device ID. </p>
<p>The table contains the configuration info for each device in the system.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">DeviceId</td><td>is the unique device ID of the device being looked up.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to the configuration table entry corresponding to the given device ID, or NULL if no match is found.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__wdtps.html#ga230fdf90fd02a0ac309937d235f560ac">XWdtPs_ConfigTable</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>, and <a class="el" href="xwdtps__selftest__example_8c.html#ab984dba57c4f6c2cec0198679734e892">WdtPsSelfTestExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga173e89798890bf73fd20f5cdadf113b5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">s32 XWdtPs_SelfTest </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Run a self-test on the timebase. </p>
<p>This test verifies that the register access locking functions. This is tested by trying to alter a register without setting the key value and verifying that the register contents did not change.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><ul>
<li>XST_SUCCESS if self-test was successful.</li>
<li>XST_FAILURE if self-test was not successful.</li>
</ul>
</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>, <a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>, <a class="el" href="group__wdtps.html#gaecc5f08ee18069fdd264027e7da22165">XWDTPS_ZMR_RSTLN_MASK</a>, and <a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__selftest__example_8c.html#ab984dba57c4f6c2cec0198679734e892">WdtPsSelfTestExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga64f2de6079bde6e9b8c495401a555a64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XWdtPs_SetControlValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u8&#160;</td>
          <td class="paramname"><em>Control</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>Value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Updates the current control setting for the indicated signal/output with the provided value. </p>
<p>Performs a read/modify/write cycle to update the value correctly. The register referenced is the Counter Control Register (XWDTPS_CCR_OFFSET)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance. </td></tr>
    <tr><td class="paramname">Control</td><td>is the desired signal/output. Valid Control Values are XWDTPS_CLK_PRESCALE and XWDTPS_COUNTER_RESET. Only one of them can be specified at a time. </td></tr>
    <tr><td class="paramname">Value</td><td>is the desired control value. If the Control is XWDTPS_CLK_PRESCALE then use the definitions XWDTEPB_CCR_PSCALE_XXXX. If the Control is XWDTPS_COUNTER_RESET then the valid values are 0x0 to 0xFFF, this sets the counter restart value of the CCR register.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="group__wdtps.html#ga25fcda0719e4ead71bd6bef791c7ec83">XWDTPS_CCR_CKEY_VAL</a>, <a class="el" href="group__wdtps.html#ga57d4d9381e95475f46b366139f39ce51">XWDTPS_CCR_CLKSEL_MASK</a>, <a class="el" href="group__wdtps.html#ga8459363e0e0ad2d44291c68dfaa444d0">XWDTPS_CCR_CRV_MASK</a>, <a class="el" href="group__wdtps.html#gadd87253d3c5419b22ea299760058ab00">XWDTPS_CCR_CRV_SHIFT</a>, <a class="el" href="group__wdtps.html#ga55c7e50c407f1bb66181c306fc51e3b3">XWDTPS_CCR_OFFSET</a>, <a class="el" href="group__wdtps.html#ga4182ead880093d17d2b0962839821929">XWDTPS_CLK_PRESCALE</a>, <a class="el" href="group__wdtps.html#gac055573454d39a7fadf5cbd1ed19aea5">XWDTPS_COUNTER_RESET</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, and <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga2ac689cec0d17cc916c509285635135b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XWdtPs_Start </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Start the watchdog timer of the device. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="struct_x_wdt_ps.html#ae48dad9bc1c3b06fdbdc40cb64501dd5">XWdtPs::IsStarted</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>, <a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>, <a class="el" href="group__wdtps.html#gab5a46221cc01e7b376f46ee60f726dad">XWDTPS_ZMR_WDEN_MASK</a>, and <a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>, and <a class="el" href="xwdtps__polled__example_8c.html#af6d8744c28d965bc0522023a8fb10053">WdtPsPolledExample()</a>.</p>

</div>
</div>
<a class="anchor" id="ga4a8899689039c676ab3ad7ff80c9c750"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void XWdtPs_Stop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_x_wdt_ps.html">XWdtPs</a> *&#160;</td>
          <td class="paramname"><em>InstancePtr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disable the watchdog timer. </p>
<p>It is the caller's responsibility to disconnect the interrupt handler of the watchdog timer from the interrupt source, typically an interrupt controller, and disable the interrupt in the interrupt controller.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">InstancePtr</td><td>is a pointer to the <a class="el" href="struct_x_wdt_ps.html" title="The XWdtPs driver instance data. ">XWdtPs</a> instance.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_wdt_ps___config.html#ab09dc2a13ed7882ec309278ebc43b16c">XWdtPs_Config::BaseAddress</a>, <a class="el" href="struct_x_wdt_ps.html#a156efe4faa90db8ce8c582c8756255f8">XWdtPs::Config</a>, <a class="el" href="struct_x_wdt_ps.html#a7e636142b5fa9c8bd940026976fb0006">XWdtPs::IsReady</a>, <a class="el" href="struct_x_wdt_ps.html#ae48dad9bc1c3b06fdbdc40cb64501dd5">XWdtPs::IsStarted</a>, <a class="el" href="group__wdtps.html#gae41b46b220ba0da6a9f28e594c3c0a47">XWdtPs_ReadReg</a>, <a class="el" href="group__wdtps.html#gac1cc7282f826a550a7f5107f1e12523b">XWdtPs_WriteReg</a>, <a class="el" href="group__wdtps.html#gabfb6c271ee50fc3735fde379c938be0c">XWDTPS_ZMR_OFFSET</a>, <a class="el" href="group__wdtps.html#gab5a46221cc01e7b376f46ee60f726dad">XWDTPS_ZMR_WDEN_MASK</a>, and <a class="el" href="group__wdtps.html#ga1d77314aa941add791ce8d0bfa9ec3b9">XWDTPS_ZMR_ZKEY_VAL</a>.</p>

<p>Referenced by <a class="el" href="xwdtps__intr__example_8c.html#a5880f1b662e70c26322b5070d232c134">WdtPsIntrExample()</a>.</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="ga23a43d76136564699b548fb0a4b144dd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> XWdtPs_ConfigTable[XPAR_XWDTPS_NUM_INSTANCES]</td>
        </tr>
      </table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">        {</div>
<div class="line">                (u16)XPAR_XWDTPS_0_DEVICE_ID,</div>
<div class="line">                (u32)XPAR_XWDTPS_0_BASEADDR</div>
<div class="line">        },</div>
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
<div class="line">}</div>
</div><!-- fragment -->
<p>This table contains configuration information for each watchdog timer device in the system. </p>
<p>Configuration table. </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga4b447b33afe318703da0f9f96849ee41">XWdtPs_LookupConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="ga230fdf90fd02a0ac309937d235f560ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_wdt_ps___config.html">XWdtPs_Config</a> XWdtPs_ConfigTable[]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configuration table. </p>
<p>Configuration table. </p>

<p>Referenced by <a class="el" href="group__wdtps.html#ga4b447b33afe318703da0f9f96849ee41">XWdtPs_LookupConfig()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
